package com.hhj.demo;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.InitializingBean;

/**
 * Created by KING on 2018/7/17.
 */
@Setter
@Getter
public class OtherObj implements InitializingBean {

    private String appName = "OtherObj";

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("OtherObj ------- afterPropertiesSet");
    }
}